if (strcmp(fmp->key, "GPS_FIX") == 0) {
wpt->fix = atoi(s)-1;
if ( wpt->fix < fix_2d) {
- if (!strcasecmp(s, "none"))
+ if (!case_ignore_strcmp(s, "none"))
wpt->fix = fix_none;
- else if (!strcasecmp(s, "dgps"))
+ else if (!case_ignore_strcmp(s, "dgps"))
wpt->fix = fix_dgps;
- else if (!strcasecmp(s, "pps"))
+ else if (!case_ignore_strcmp(s, "pps"))
wpt->fix = fix_pps;
else
wpt->fix = fix_unknown;
case tt_fix:
wpt_tmp->fix = atoi(cdatastrp)-1;
if ( wpt_tmp->fix < fix_2d) {
- if (!strcasecmp(cdatastrp, "none"))
+ if (!case_ignore_strcmp(cdatastrp, "none"))
wpt_tmp->fix = fix_none;
- else if (!strcasecmp(cdatastrp, "dgps"))
+ else if (!case_ignore_strcmp(cdatastrp, "dgps"))
wpt_tmp->fix = fix_dgps;
- else if (!strcasecmp(cdatastrp, "pps"))
+ else if (!case_ignore_strcmp(cdatastrp, "pps"))
wpt_tmp->fix = fix_pps;
else
wpt_tmp->fix = fix_unknown;